package com.ybox.app.domain;

import com.ybox.common.core.web.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;


/**
 * 收藏卡片类型表
 * @author 16554
 */
@ApiModel(value = "收藏卡片类型表")
public class AppCollectType  extends BaseEntity {

    private static final long serialVersionUID = 1L;
    /**
     * 收藏卡片类型id
     */
    @ApiModelProperty(value = "收藏卡片类型id")
    private Integer typeId;

    /**
     * 父id
     */
    @ApiModelProperty(value = "父id")
    private Integer parentId;

    /**
     * 收藏卡片类型名称
     */
    @ApiModelProperty(value = "收藏卡片类型名称")
    private String typeName;

    /**
     * 0 删除 1保存
     */
    @ApiModelProperty(value = " 0 删除 1保存 ")
    private Boolean status;


    public Integer getTypeId() {
        return typeId;
    }

    public void setTypeId(Integer typeId) {
        this.typeId = typeId;
    }

    public Integer getParentId() {
        return parentId;
    }

    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }

    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }

    public Boolean getStatus() {
        return status;
    }

    public void setStatus(Boolean status) {
        this.status = status;
    }


    /**
     * toString
     *
     * @return String String
     */
    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", typeId=").append(typeId);
        sb.append(", parentId=").append(parentId);
        sb.append(", typeName=").append(typeName);
        sb.append(", status=").append(status);
        sb.append(", createBy=").append(getCreateBy());
        sb.append(", createTime=").append(getCreateTime());
        sb.append(", updateBy=").append(getUpdateBy());
        sb.append(", updateTime=").append(getUpdateTime());
        sb.append("]");
        return sb.toString();
    }
}